package com.example.personaldemo.mapper;

import com.example.personaldemo.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    @Insert("INSERT INTO user(id,name,password) VALUES (#{id},#{name},#{password})")
    int save_account(User user);

}
